<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'CustomerTransaction.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
 <%
 //customer_name,area,phone_no1,phone_no2,mobile_no,address1,email_id,contactperson1,contactperson2,mobilecontact2,mobilecontact1
// name=1&branch=11&telephone1=1&telephone2=1&mobileno=1&email=1&address=1&name=1&name=1&name=1&name=1&submit=Create
 String flag = request.getParameter("flag")!=null?request.getParameter("flag"):"2";
 String customer_name = request.getParameter("name")!=null?request.getParameter("name"):"";
 String area = request.getParameter("branch")!=null?request.getParameter("branch"):"";
 String phone_no1 = request.getParameter("telephone1")!=null?request.getParameter("telephone1"):"";
 String phone_no2 = request.getParameter("telephone2")!=null?request.getParameter("telephone2"):"";
 String mobile_no = request.getParameter("mobileno")!=null?request.getParameter("mobileno"):"";
 String address1 = request.getParameter("address")!=null?request.getParameter("address"):"";
 String email_id = request.getParameter("email")!=null?request.getParameter("email"):"";
 String contactperson1 = request.getParameter("cust1")!=null?request.getParameter("cust1"):"";
 String contactperson2 = request.getParameter("cust2")!=null?request.getParameter("cust2"):"";
 String mobilecontact2 = request.getParameter("cust2mobile")!=null?request.getParameter("cust2mobile"):""; 
 String mobilecontact1 = request.getParameter("cust1mobile")!=null?request.getParameter("cust1mobile"):"";
 
 
 try
 {
 
 
 
 
 if((Integer.parseInt(flag))==1)
 {
 
 
 
 
 
 
 }//creation flag==1
 }
 catch(Exception e)
 {e.printStackTrace();}
 
 
 
 
 
 
 
 
 
 
  %>
  </body>
</html>
